package liquidfs.core;

import java.util.*;

import liquidfs.data.*;

public class Metadata {
   
   private Revision revision;
   private Date creationDate;
   private Date modificationDate;
   private Date accessDate;
   
   public Metadata(Revision revision, Date creationDate, Date modificationDate, Date accessDate) {
      this.revision = revision;
      this.creationDate = creationDate;
      this.modificationDate = modificationDate;
      this.accessDate = accessDate;
   }

   public Revision getRevision () {
      return this.revision;
   }
   
   public void setRevision (Revision revision) {
      this.revision = revision;
   }
   
   public Date getCreationDate() {
      return creationDate;
   }
   
   public void setCreationDate(Date creationDate) {
      this.creationDate = creationDate;
   }
   
   public Date getModificationDate() {
      return modificationDate;
   }
   
   public void setModificationDate(Date modificationDate) {
      this.modificationDate = modificationDate;
   }
   
   public Date getLastAccessedDate() {
      return accessDate;
   }
   
   public void setLastAccessedDate(Date accessDate) {
      this.accessDate = accessDate;
   }
   
   
}
